package com.zb.internetSpider.bulider;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Container;
import java.awt.Frame;

import javax.swing.JScrollPane;
import javax.swing.WindowConstants;
import javax.swing.tree.DefaultTreeCellRenderer;

import com.zb.internetSpider.gui.SpiderComponent;
import com.zb.internetSpider.gui.Theme;
import com.zb.internetSpider.gui.asiderPanel.AbstractSpiderAsiderPanel;
import com.zb.internetSpider.gui.footerBar.AbstractSpiderFooterBar;
import com.zb.internetSpider.gui.frame.AbstractSpiderFrame;
import com.zb.internetSpider.gui.mainPanel.AbstractSpiderMainPanel;
import com.zb.internetSpider.gui.menuBar.AbstractSpiderMenuBar;
import com.zb.internetSpider.gui.splitPanel.AbstractSpiderSplitPane;
import com.zb.internetSpider.gui.tabsPanel.AbstractSpiderTabsPanel;
import com.zb.internetSpider.gui.tree.AbstractSpiderTree;
import com.zb.internetSpider.utils.CommonUtils;

/**
 * <p>外观接口，定制爬虫的界面风格</p>
 * @author 张贝
 *
 */
public interface SpiderGuiBuilder {
	
	/**
	 * 
	 * @Description: TODO 构建应用的框架
	 * @param @param theme
	 * @param @param spiderFrame
	 * @param @param tabsPanel
	 * @param @param mainPanel
	 * @param @param asiderPanel
	 * @param @param splitPane
	 * @param @param menuBar
	 * @param @param footerBar
	 * @param @param spiderTree
	 * @param @return   
	 * @return boolean  
	 * @throws
	 * @author zb
	 * @date 2019年2月15日 下午10:57:40
	 */
	public AbstractSpiderFrame frameBuilder(Theme theme, AbstractSpiderTabsPanel tabsPanel, AbstractSpiderMainPanel mainPanel,
			AbstractSpiderAsiderPanel asiderPanel, AbstractSpiderSplitPane splitPane, AbstractSpiderMenuBar menuBar, AbstractSpiderFooterBar footerBar,
			AbstractSpiderTree spiderTree);
	
	
	public  boolean frameBuilder(Theme theme, SpiderComponent... components);

}
